Add Helm Chart Support for Opt-In Support for Exposing Port 8878 in the AdminService #5731
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…in for access to the Go Plugin Filter Metrics
Description
Adding support in the Helm chart to allow an Opt-In feature for users to configure a new port to open in the adminService. This new port will allow users to set
Values.adminService.goPluginMetricsPort=8878
to expose port8878
for users to get access to the Go Filter Plugin Metrics, which we added in Edge Stack release3.11.0
. This allows users to expose an additional port so that they may use metric scraping tools to scrape the new Go Plugin metrics using Helm.Related Issues
List related issues.
Testing
Running
helm install --dry-run --debug <LOCAL-CHART>
has the expected default output, wheregoPluginMetricsPort
inside the adminService file is empty, the adminService remains unchanged, and emissary-ingress installs with no changes.Running
helm install --dry-run --debug <LOCAL-CHART> --set adminService.goPluginMetricsPort=8878
has the expected output where thegoPluginMetricsPort
field inside the adminService has the value8878
, the environment variableENABLE_PLUGIN_FILTER_METRICS
is set to"true"
, port8878
is opened on the emissary-ingress deployment, and the adminService has the port8878
exposed on it.Checklist
Does my change need to be backported to a previous release?
I made sure to update
CHANGELOG.md
.Remember, the CHANGELOG needs to mention:
This is unlikely to impact how Ambassador performs at scale.
Remember, things that might have an impact at scale include:
My change is adequately tested.
Remember when considering testing:
I updated
DEVELOPING.md
with any any special dev tricks I had to use to work on this code efficiently.The changes in this PR have been reviewed for security concerns and adherence to security best practices.